package com.qupai.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * <p>
 * 拍卖表，存储拍卖活动信息
 * </p>
 *
 * @author bluefoxyu
 * @since 2024-07-30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Auction implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "拍卖ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "拍卖会名")
    private String name;

    @Schema(description = "拍卖师ID（关联拍卖师表）")
    private Long auctioneerId;

    @Schema(description = "拍卖状态(1、待开始, 2、进行中, 3、已结束)")
    private Integer status;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime endTime;


}
